package com.yurun.orgbranch.service;

import com.yurun.commonapi.pojo.Branch;

import java.math.BigInteger;
import java.util.List;

/**
 * @author lihao
 * @mail lihaohaocn@gmail.com
 * @Date 2021/8/18 11:03 下午
 */
public interface BranchService {

    List<Branch> getAllBranch();

    List<Branch> getBranchByName(String branchName, BigInteger employeeId);

    List<Branch> getAllBranchInfoByOrgId(BigInteger employeeId);

    List<Branch> getBranchOption(BigInteger organizationId);

    List<Branch> getBranchList(String keyword, BigInteger employeeId);

    int delBranchById(Branch branch);

    boolean addBranch(Branch branch);

    int editBranch(Branch branch);

    Branch getBranchInfoById(BigInteger organizationId, BigInteger branchId);
}
